import yaml

#返回dict
def readConFig(file_path):
    with open(file_path,'r') as f:
        config_data=yaml.safe_load(f)
    return config_data


